package com.blame.chatRobot.entity;

import lombok.Data;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 何彦声
 * Date: 2025-08-30
 * Time:
 */

@Data
public class ChatInfo {

    private String title;
    private String chatId;

    public ChatInfo(String title, String chatId) {
        this.title = title==null?"无标题" : title.length()>15?title.substring(0,15):title;
        this.chatId = chatId;
    }
}
